/*
 * Copyright © 2017 eqxiu.com 北京中网易企秀科技有限公司  All rights reserved.
 */

package cn.hermit.examples.dubbo.provider;

import cn.hermit.config.Config;
import cn.hermit.scan.ScanBoot;

/**
 * @author JackGao 高建国
 * @description //TODO 设计说明
 * @date 2/6/2017
 */
public class DubboProviderBoot {

    public static void main(String[] args) throws Exception {
        Config.loadFromArguments(args);
        Config.load(DubboProviderBoot.class.getClassLoader().getResource("hermit.properties"));
//        DubboProperties properties = Config.getProperties(DubboProperties.PREFIX, DubboProperties.class);
//        for(DubboConfig dubboConfig: properties.getConfig().values()) {
//            System.out.println(dubboConfig.getPattern());
//        }
        ScanBoot.boot(args);
    }
}
